You are here: Logic Elements > Functions
Functions return information such as a location’s capacity, the amount of time the simulation has been running, or a random number. A function is a keyword followed by parentheses, which may contain data that the function needs to complete its operation. You should be aware that if a function or variable expecting an integer gets a real number, it will ignore everything to the right of the decimal point.